package com.yc.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.*;

import lombok.Getter;
import lombok.Setter;

/**
 * <p></p>
 *
 * @author: YuanChilde
 * @date: 2019-12-19 14:22
 * @version: 1.0
 * Modification History:
 * Date    Author      Version     Description
 * -----------------------------------------------------------------
 * 2019-12-19 14:22    YuanChilde     1.0        新增
 */
@Setter @Getter
@TableName("t_demo")
public class DemoEntity implements Serializable {

    private static final long serialVersionUID = 7283113399399357978L;
    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long idx;
    private String name;
}
